package akka.shoppingcart.application

import akka.javasdk.annotations.Consume
import akka.javasdk.consumer.Consumer
import akka.shoppingcart.domain.ShoppingCartEvent

@Consume.FromEventSourcedEntity(ShoppingCartEntity::class)
class TestConsumer : Consumer() {
  fun onEvent(event: ShoppingCartEvent): Effect =
      when (event) {
        is ShoppingCartEvent.ItemAdded -> TODO()
      }
}
